package com.yt.user.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 用户信息VO
 *
 * @author zhao
 * @Date 2025-09-03 16:21:14
 */
@Data
public class SysUserVO implements Serializable {
    @ApiModelProperty(value = "用户ID")
    private Long id;
    @ApiModelProperty(value = "数据版本号（乐观锁控制）")
    private Integer revision;
    @ApiModelProperty(value = "用户姓名")
    private String userName;
    @ApiModelProperty(value = "用户头像路径")
    private String pic;
    @ApiModelProperty(value = "用户联系电话")
    private String phone;
    @ApiModelProperty(value = "用户邮箱")
    private String email;
    @ApiModelProperty(value = "token")
    private String token;
    @ApiModelProperty(value = "用户状态：0-禁用，1-正常")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户角色ID列表")
    private List<Long> roleIds;
    @ApiModelProperty(value = "用户角色名称列表")
    private List<String> roleNames;
}
